package com.ssy.lingxi.order.model.vo.basic.request;

import lombok.Getter;
import lombok.Setter;

import javax.validation.Valid;
import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * @author wyx
 * @version 2.0.0
 * @date 2021-10-13
 */
@Setter
@Getter
public class OrderDeliveryTimeVO {
    /**
     * 状态，0-停用，1-启用
     */
    @NotNull(message = "状态不能为空")
    private Integer status;

    /**
     * 商城ID
     */
    @NotNull(message = "商城ID不能为空")
    private Long shopId;

    /**
     * 时间参数列
     */
    @Valid
    List<OrderDeliveryTimeParamVO> paramList;
}
